/**
 * @Description :  菜单管理
 * @author : August_xiao 1932794922@qq.com
 * @date : 2022-03-18 16:28
 */

import axios from '@/utils/axios'

const menuApi = {
  // 菜单导航
  homeNavList: '/xiang-blog/blog-menu/list'
}

/**
 * 获取菜单列表
 * @param params
 * @returns {AxiosPromise}
 */
const getAsyncRoutes = () => {
  return axios.get(menuApi.homeNavList)
}

export { getAsyncRoutes }
